package com.zd.kids.DataBean;

import java.util.List;

/**
 * @ClassName: com.zd.kids.DataBean
 * @Description:
 * @Author: hyy
 * @Date: 2020/6/29
 * @Time: 7:48 PM
 */
public class RecodVideoDataBean {

    /**
     * title : 洗手
     * video_path : path...
     * result : [{"id":1,"typeid":1,"time":4,"word":"你好","pinyin":"ni2 hao3","title":null,"answer":null,"option_1":null,"option_2":null},{"id":2,"typeid":2,"time":5,"word":null,"pinyin":null,"title":"是男孩吗?","answer":1,"option_1":"img_path...","option_2":"img_path..."}]
     */

    private String title;
    private String video_path;
    private List<ResultBean> result;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getVideo_path() {
        return video_path;
    }

    public void setVideo_path(String video_path) {
        this.video_path = video_path;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * id : 1
         * typeid : 1 1=录音题,2=选择题
         * time : 4
         * word : 你好
         * pinyin : ni2 hao3
         * title : null
         * answer : null
         * option_1 : null
         * option_2 : null
         */

        private int id;
        private int typeid; //1=录音题,2=选择题
        private int time;
        private String word;
        private String pinyin;
        private String title;
        private int answer; 	//选择题的答案，1/2
        private Object option_1;
        private Object option_2;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getTypeid() {
            return typeid;
        }

        public void setTypeid(int typeid) {
            this.typeid = typeid;
        }

        public int getTime() {
            return time;
        }

        public void setTime(int time) {
            this.time = time;
        }

        public String getWord() {
            return word == null ? "" : word;
        }

        public void setWord(String word) {
            this.word = word;
        }

        public String getPinyin() {
            return pinyin;
        }

        public void setPinyin(String pinyin) {
            this.pinyin = pinyin;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getAnswer() {
            return answer;
        }

        public void setAnswer(int answer) {
            this.answer = answer;
        }

        public Object getOption_1() {
            return option_1;
        }

        public void setOption_1(Object option_1) {
            this.option_1 = option_1;
        }

        public Object getOption_2() {
            return option_2;
        }

        public void setOption_2(Object option_2) {
            this.option_2 = option_2;
        }
    }
}
